package cn.lutu.lutu.mapper;

import cn.lutu.lutu.pojo.entity.Hotel;
import cn.lutu.lutu.pojo.entity.Room;
import cn.lutu.lutu.pojo.vo.HotelVO;
import cn.lutu.lutu.pojo.vo.RoomVO;
import org.springframework.stereotype.Repository;

import java.util.List;


@Repository
public interface HotelsMapper {

    void insert(Hotel hotel);

    void updateById(Hotel hotel);

    void deleteById(Long id);

    void deleteHotelById(Long id);

    void insertRoom(Room room);

    void updateRoom(Room room);


    RoomVO selectRoom(Long id);

    HotelVO selectHotel(Long id);


}
